home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flwat04.dir / 00065_Script_65 < prev    next >
Text File  |  1994-11-15  |  2KB  |  99 lines

  1. on startMovie
  2.   global nowFrame, lastFrame, currMM, reEntry, dialogOn
  3.   global rolledAlready, thumbTrack, switchState,jmpFrame
  4.   set dialogOn = FALSE
  5.   set switchState = FALSE
  6.   set rolledAlready = FALSE
  7.   set nowFrame = "atusa000000n°°"
  8.   set currMM = "FLWWW"
  9.   puppetSprite 10, TRUE
  10.   puppetSprite 21, TRUE
  11.   puppetSprite 22, TRUE
  12.   puppetSprite 23, TRUE
  13.   set the immediate of sprite 23 to TRUE
  14.   set the stretch of sprite 23 to FALSE
  15. end startMovie
  16.  
  17. on stepMovie
  18.   global nowFrame,currFrame
  19.   if nowFrame  <> currFrame then
  20.     seeAlsoList
  21.     set currFrame = nowFrame
  22.   end if
  23. end stepMovie
  24.  
  25. on stopMovie
  26.   set the castNum of sprite 21 to 1050
  27.   puppetSprite 21, FALSE
  28.   put " " into field "seeAlsoText"
  29.   updateStage
  30. end stopMovie
  31.  
  32. on saveLocals
  33.   global lastFrame, nowFrame, lastMovie
  34.   set lastFrame = nowFrame
  35.   set lastMovie = the movie
  36. end saveLocals
  37.  
  38. on buttonState
  39.   global FrankNav
  40.   global thumbTrack, thumbFrame, bflag, dialogOn
  41.   
  42.   if dialogOn = FALSE then
  43.     
  44.     glassCheck
  45.     
  46.     -- don't check global buttons unless mouse is down at bottom
  47.     if (the mouseV > 300) or (bFlag = TRUE) then
  48.       doState
  49.     end if
  50.   end if
  51. end buttonState
  52.  
  53. on atForStep
  54.   puppetSprite 8, FALSE
  55.   if the frame = 25 then
  56.     go to movie "FLWAT05"
  57.   else
  58.     go to marker(+1)
  59.   end if
  60.   updateStage
  61. end atForStep
  62.  
  63. on atBackStep
  64.   puppetSprite 8, FALSE
  65.   if the frame < 3 then
  66.     go to frame "at000bld064°°°" of movie "FLWAT03"
  67.   else
  68.     go to marker(-1)
  69.   end if
  70.   updateStage
  71. end atBackStep
  72.  
  73. on textRoll txHt
  74.   global origLocV, rolledAlready, topHat, horNess, dialogOn, SeeAlsoBox
  75.   if dialogOn = FALSE and SeeAlsoBox = FALSE then
  76.     set topHat = txHt
  77.     if rolledAlready = FALSE then
  78.       set origLocV = the locV of sprite 8
  79.     end if
  80.     
  81.     if the mouseH < 414 and the mouseV > 366 and the mouseV < 429 then
  82.       set the locV of sprite 8 to txHt
  83.       set rolledAlready = TRUE
  84.     else if the mouseH > 414 or the mouseV > 429 or the mouseV < topHat then
  85.       set the locV of sprite 8 to origLocV
  86.     end if
  87.   end if
  88. end textRoll
  89.  
  90. on glassCheck
  91.   if the frame < 157 then
  92.     if rollOver(10) then 
  93.       set the castNum of sprite 10 to 109
  94.     else
  95.       set the castNum of sprite 10 to 2
  96.     end if
  97.   end if
  98.   updateStage
  99. end glassCheck